<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Title</title>
    <!--1.引入外部的vue.js-->
    <script src="js/vue@3.3.4.global.js"></script>
</head>
<body>
    <!--2.视图:view-->
    <div id="app">
        <h3>{{message}}</h3>
    </div>
    <div id="app2">
        {{message}}
    </div>
</body>
<script>
    //3. 创建vue的实例
    const app = Vue.createApp({
        // 模型:model
        data(){
            return {
                message: 'hello vue + springboot',
            }
        }
    });
    //4.挂在实例
    app.mount('#app');
</script>
<script>
    const app2 =Vue.createApp({
        data(){
            return {
                message: '你好 vue3',
            }
        }
    })
    app2.mount('#app2')
</script>
</html>